package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("订单支付信息创建参数")
public class OrderPayInfoCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "orderNo参数缺失")
    @ApiModelProperty(value = "编号")
    private String orderNo;

    @NotNull(message = "payType参数缺失")
    @ApiModelProperty(value = "支付类型 0支付宝 1微信")
    private Long payType;

    @NotNull(message = "payMony参数缺失")
    @ApiModelProperty(value = "实付金额")
    private BigDecimal payMony;

    @NotNull(message = "payTime参数缺失")
    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @NotNull(message = "discountNo参数缺失")
    @ApiModelProperty(value = "优惠信息编号")
    private String discountNo;

    @NotNull(message = "discountType参数缺失")
    @ApiModelProperty(value = "优惠类型")
    private Integer discountType;

    @NotNull(message = "payStatus参数缺失")
    @ApiModelProperty(value = "支付状态 0 未支付 1已支付")
    private Long payStatus;

    @NotNull(message = "payInfoNo参数缺失")
    @ApiModelProperty(value = "订单支付编号")
    private String payInfoNo;

}
